<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h1>弹出一个会话</h1>
		<script type="text/javascript">
			alert("你好,我是JavaScript")
			
			//定义一个变量
			var a = 5 
			var names = "叶权通"
			var array = 55.654
			var is = true
			var arr = ['arr1','arr2','arr3','arr4']
			console.log(a);
			console.log(arr.length);
			//定义一个函数
			function name(){
				console.log("我是一个函数");
			}
			//执行函数
			name()
		</script>
	</body>
</html>
